// import {combineReducers} from 'redux'
// //用来合成reducer
// // combineReducers这里传入一个对象
// import {reducer as commendReducer} from '../pages/discover/childComp/recommend/store/index'
// const cReducer = combineReducers({
//     recommend:commendReducer

// })
// export default cReducer

//引入combineReducers用来合并reducer
import {combineReducers} from 'redux-immutable'
//会给他转换为immediate对象
import {reducer as commendReducer} from '../pages/discover/childComp/recommend/store/index'
const cReducer = combineReducers({
    //里面是我们以后定义每个模块的reducer
    recommend:commendReducer
})
//并且将合成好的reducer传出
export default cReducer